method to handle getting user profile info from github