Creating categories now adds user id to the database