fixed logout button

the logout button should now work, the root now directs to the login page, will work on redirecting it back to the welcome page