add afterLogin callback to load data after login
Merge branch 'henryleu'