Add spec and factory for evnets and factory for user