added frontend, changed submit form