Fixed Database connection, made html table build from sro table in database.