Added checking for not equal password inputs

Added checking for not equal password inputs