Makes possible to update user by its email instead of id.