changed the footer to change to logout if the user is logged in