more work on the form and added new error and success forms