Adding validation to greeting user view.

Signed-off-by: JerinJ <jerinj@cybage.com>