Use SQL parameterized statements for the init_db script
First stab at replacing REMOTE_ADDR check with user login.