added logout feature on posts index view  and adjusted routes to include...

... 'logout'