added backbone form and optimized code by using data from model