extracted partials.
implemented sign out functionality.