Code:
        /// <summary> 
        /// Takes argument data of the format: "username:password", where the delimiter is ':' or 
        /// specified.
        /// </summary>
        public bool Login(string data, char delimiter = ':')
        {
            string[] tmp = data.Split(delimiter);
            return Login(tmp[0],tmp[1]);
        }
In case we use the common username:userpassword formats.