added an error template
get models working with ember data