[Task 1] Mapper and some account logic