Refactoring to make things more genreal for different providers
Implemented POST /auth/google endpoint and abstract redundant code to helper method