Removed unnecessary 'submit' property.
Fixed signing in to use req.body
Signing/registering is based on state not on values.