added category selection solution on handler
added yesod paginator and changed a bit edit posts