Implements user management functions for admin