Check passwords are not the same. If not, throws an alert.