fixing username and password flags