Added full js validation (empty fields) to admin login page and train search pages