Working with github OAuth