implement REST structure for users and microposts