Completed most user type management functions.