added sign in and sign out functionality to nav bar