Updated navigation bar login/logout logic

Now smoothly logs in/out, using userService for login state.