implement registration (not complited client-side and vslidstion)