Added logout, changed route paths, renamed routes and tightened tests