added .sql file for database table. changed ip to default null to avoid error if not set, updated readme