logout functionality, proper redirects
logout functionality, proper redirects