added flash erors
Added likes table controler and model