Finished tutorial. DB write not working.