Another commit after working on the project

Created some methods in the posts controller as well as the migration file.