added the ability for users to withdraw credits (views should be generated by the application).