Logout in router

Also removed test