added login view, require login