implemented rating backend
merged database