add Sign up/Login/Logout functions.