add method getIDpost