Issue #003: Makes page reload after setting a cookie; this ensures that the cookie is saved before determining whether to display the Sign Out link in the navbar.