Fix bug on the local username password variables. Changed the anonymous inner class