display row of database on get request