connection class to represent users