The code isn't getting hit because you are using the URL "Notfications.aspx/getToken" and hence it is trying to load from there.
In your custom project create a new Page and inherit from the CMSPage base class. You can then access the WebMethod by using the URL of the Custom Page ie. "/CMSModules/CustomProject/Pages/WebMethods.aspx/getToken" - For the example the page is created under a Pages sub-folder of the CustomProject module.
I believe the Strands Recommender module follows this pattern, so would suggest you take a look at that.