- added check_availability to views and uncommented url handler