Fix bug getApiUsersAllowed not to return deleted data and apiusers, added push notifications