added logic for displaying errors
Stephen added fake gem to generate users and products