add Login view method