now correctly handling 'bitMask of undefined' error in Auth factory
add console logs to figure out route bugs