Working login page using angular to call user authentication and redirect to home page on success via SPA, note that social network authentication is not part of the SPA