Integrated api/users/checkUser on Register page to check if email already registered