Changed the group column name in user_access back to user_group as group is a mysql reserved name.