Fixed issue with application.html.haml file
Added authentication tests