added does_user_exist sql