Fixes issue with user availaibility check
Fix for User.valid_users check