Add sorting for threads
Small improvements to thread view
Add check if post is from logged in user