Added the functionality to check in/out materials. Still have an error. Also made the page that shows which materials are due/overdue.