adding signout functionality