added login_required decorator in views