username password nil problem fix