changes in baioAuth, get rid if ionic dependencies