Form handling in bottle framework