Use template for UserInfo
Extends UserInfo class with additional parameters
Merge pull request #1 from beebotte/connection

Connection management