some progress on the shiro security. Should finish it tomorow.