Added part frontend, part validation

and prevented page-reloads