Update method PUT for user logout