[WIP] handled user profile form in both fe and api. todo invalid data handling on fe