Sylistic changes to route handling and flash msgs