moving the setting of user password into adapter to allow for more extendability