make machine power actions POST only