Update register resource to require email and password via POST