Added user permissions system (sort of)