added admin dashboard; fixed tables and relationships