Fixed issue with user permissions