Boring basic styling and fixed transaction issue for EntityDAO.
Issues still exist with some database functions including userDelete