Install callback in the right place for login