created access error and denial routes and implemented logout button.