better error handling with redirect
better text messages