added user and note model