added logout buttons to each page that redirects back to login