fixed User registration