Fix form error in profile page
Merge pull request #30 from LouisaBarrett/refactor

Fix form error in profile page