added Security class to authorize users