changed selectUserByEmail