Add logout to navbar and clean up tests & Gemfile