changed that silly USER column to be user, and more sql-alch conversion