Add sign in/sign out functionality