Fixes the indentation of return for login_required decorator