rewrite the account signup, signin and sign out