Added checks for previous submissions

Added checks in mileage model insert statements to check if previous
dates already contained entries. Also added error styling to displayed
messages.
Added error display class to error message
removed some blank lines
Changed layout to match mileage submit layout