removed Data.php since included in authorize
Removed the session unset and streamlined permissionsZ