added microsoft & google authentication and user session cache.