Implemented shiro authentication