Alterations to auth. Removed depreciated get_profile() method for user objects. Added alterUserPermissions() function.