registration with enter key