create the main page that contains metrics such as lessons done, total revenue and total debt.
add a seperate payments table and delete the amount_paid field from the metrics tabel.extract view logic to application helper.
Bug fix regarding the creation of duplicate fields with the same values except user_id.