Fix for user post pagination

I fixed user post page fetching and created a test to ensure it worked properly