Might be nice if this could query just the DB for just a single user using sqlalchemy rather than getting them all and processing them here. Can look into in the future.