fixed so logged in users can't see thank you page