Fix bug with logs. Work with user types
Try to fix user types. Fail miserably