improve login view. close #7