refactor api call
added Profiles method