added column type for accounts db and corrected the corresponding addaccount function