proper error handling in the forms
more error handling
final error handling and flash message stuff implemented