Fix bug, when Google Auth btn was not displayed when auth failed on app start
Simplify endpoint handling of EventCollection
clean code, remove unused require