Added authentication, admin actions, voting funcitonality and sped up post index view

Missing important indexes.