add user resource and micropost resource