Post model added.
Controller correction.
Adding links to navigate the pages.
Validations and error messages added.