added request case
added back login_required decorator