add new entity to postgreSQL table and views the list of table