added badges model and user badge joint table