server on python using flusk decorator