Refactored idnex.html. Added error page