cleaning
adding actions and types ro api making both admin only
types are admin only in ui