Removed user_type from database

user_type is no longer stored with access rights
and return type of savePrivileges is json for ajax calls