fixed user_exists logic, experimenting with userdb class but not working