Refactored available users action.