fix register and login form submitting

Updated cascade property on User entity.
Add form_rest calls in twig files to avoid invalid _token errors on
submit.