Check for POST in correct place