finished form validation
navigation is no longer hardcoded