Added login to index.erb