Implemented availability and student database tables