fixed spelling on amount and updated db functionality to return users name