Add temporary fix to differentiatng between users in resource controller