Updated DB initializer and fixed bug in Account model.