Unable to access form when clicking link