added user state, should it be instead role ?
added easeljs