Add login view, solve problems with multiple events firing after route change