implemented simple GitHub login flow