Adding endpoints for obtaining token and and route guards for protecting views.
Adding endpoints for obtaining token and and route guards for protecting views.