fixed logout bug after refreshing page, had signout path when done via ajax but not via html