switching auth to use mongo instead of redis