fixed bug to create new users (email and password field)