Manchester United player signs new contract before sealing loan move