Add error handling to check for valid user github token, email and username.