Made the availability page reflect the connection to the database