Added connection on login