Upgraded Rest with DAO (To pull current timestamp from postgres
database)