refactored routes and added redirect after session destroyed to new session path