add login handler to views