Made mainpage php into two different pages. One for admin and one for users. Also added View all checkouts and view current checkouts for admin.