Added names for all inputs
Validate result
Cleaner code
Connected Frontend and Backend