add views from Leo
add javascript validation