Create sign in sign out funtionality