Change views
Add methods to controller
Add category_id to post
Add tests