sign in and sign out functionality now works and added to layout