Implemented nav-bar based sign in and out