SQL for Log In, Search and XSSs