thanks to Eli (not the "Book of Eli"), validation method improved
barely working system. Backend
barely working system. Frontend