fixed the logout button to stop rendering when ajax posts a new title after the create_survey link is clicked