UNFINSHED: Can't get the permissions of the user working