reverted redis password and added newline to end of file buffer