Fixed some bugs

Fixed front-end bug
Update model file

Update post and category model added delete function
Deleted unused view file