Added input validations and xkcd password