copied all code from flaskr + added table of users