added small javascript function to check password length and not let users submit passwords less than five characters.