Fix the typo causing logout issue