udpated controller & authentication index.html.erb