error handling
fixed the style and layout
fixed the style for the form