Fixed a few bugs on the user management page. Admin can now change the permissions of themselves.