creates accounts resource