added submit button for more usability
better error displaying, no duplicates