implementation of ModelForm for profiles editing and user registration