Added accounts activity and persisted the data

Data is getting inserted into the db. Check whether it is proper or not.