index page
remove csrf for json requests
remove csrf for json requests
added measurment and photo tests and functionality