Fixed security vulnerability and added signup user type selector