added validation code
added background image