improved basic CRUD functionality but it's still buggy on refreshes2
commit before testing out vote buttons