Added views/pages directory
Fixed some submit issues