Adding get_by_provider function in account
db object now private for providers
Update now available for accounts
Delete function for accounts