login view extracted from navigation controller