fix to username and password passing in alerts fxn