Toggled loggedIn within service instead of explicitly setting it in the controller