Added sessions and try/catch to the last part of the Account service.