Removed redundant emailExists and userExists