Removed bug in logout route