added datatables and gives functionality to logout button