Handling form in one file