work in progress on categories CRUD
categories crud working +some minior bugs repaired