Made logout work by putting
delete logout instead of
get logout
in routes.rb - the site now works but the tests fail!