finish the sign_in sign_up interface