check if user in correct object