Fixed user logout feature.