changes to accomodate to new auth