added login view for admin