modified user registration