fix bug with github login