sending information from server to database with sqlalchemy class model