add info and log user when is connected