removed trailing \n from password