Add password expiration check, notes in code