Simple paint-app using Flask with postgre sql database