changed user registration from username authentication to email