Password functionality is corrected