added "email already in use" function