creating a basic front end in flask python