authentcation and connections