github client to handle http exception; activity service to sort events by time