refactoring
form reloads on same page