Added getUserFavorite method in PushRESTAPI.java