Updated user logout