Code cleaning + add tests
Add profile editing page