Added a logout button

Added logout link to index.erb
Changed controllers in index.erb and user.erb so they actually
connect to the right routes to let us logout.