Changed user permissions table structure