re-populated the form iputs with user iput in case of an error validation