add app with psql