Added sessions controller, added functionality for viewing posts index