Moved all user based functions to a user.inc file to follow the same pattern as permission.inc