Fixed database

Gets rid of possible SQL Injection attacks