Implemented home page features to pass tests
Wrote some tests for logout feature
Converted layout file to haml