remove user_id and status_id. issue #255
refactor categories. issue #255