public static bool login_with_Pwd(this TM_WebServices webServices, string username, string password) { try { "[TeamMentor] login as: {0}".info(username); webServices.Login(username, password); return webServices.Current_User().notNull(); } catch(Exception ex) { ex.log(); } return false; }