Adding front end validation to customer view. Fixes #9