updated pagination
- fixed post url (added the baseurl)