Handling User Input — Flask Web Development