add user name and password methods in interface