fixed bad password input id and added some logic for the notice