add loginrequired
add exeception resolver