Return 500 error to client if when database command fails
Use of int id of 'VUB' instead of VARCHAR (to comply with db changes)