added root route handler
revamped input page