Reworked scope of this/prototype and connections

Need to decouple ConnectionManager and UserManager