first commit
fixed warning css
separated out logic for output and added name to submit form