added pagination to home thread pages
fixed redirect bug
got comment and thread karma to work
refactored code so post and create buttons are on every page