added validation
added page layout