added some design and better flaskr functionality
little changes