database code fully tested. Moving on to dashboard.