Modification to select/doesUserExists