added two resources: users and microposts