model.Count added
add everything to gh
add cs files controller and logattribute