fix check access in user component