Added security, dozer mappings, server pagination

* Added security filter for user authentication

* Added dozer mappings file

* Added pagination method for posts

* Added search method for posts