Remove redirects from validation functions
Fix a few more pinserver bugs and hardcoded variables