Fix form submission from profile page