Added validation to registration page and code/config to authenticate with LinkedIn.