Update user pages
Add hash method to backend client model
Fix coding style
Add a few methods to batch, purchase, order, and transaction backend client models
Add purchase pages