fixed bug with github login