added view/shared
updated validates