async getAllProfiles

put the call to get all profiles in an async task