router now actually logs user out completely before redirecting