able to write and read a user from DB. Also proper cleanup at the end