a tutorial login/logout page with the MEAN stack