commit: registration & login