Dashboard when logged in has more functionalities
dashboard controller added new functions
deleted unused code
used for connecting to database using PDO
javascript with xhr to update/delete/load from database