refactor interface
index page
dashboard page
trains page