fix autofocus on registration edit page, adjust margins