2013/11/05 add one method to login class.