footer added, html.erb version, fixing login