Add jquery for validation

Check model state
Add purchase view, with logic

Complete attributes on some models.