updated code to retrieve user info from github