dig into global login Model and login view