register with email as login