One page app built with flask