trying a add bag form
forgot to add form.html
db_session instead of db.session
spelled threshold wrong
cast ints to strings