links functionality works. need to rework display of error messages