Refactoring file upload extension and register & edit users
Refactoring profile edit