Updated Session class for User Agent

Updated Session class for User Agent