secure section renamed to pha
enter key detection on inputs