Implemented sqlliteDb handling for the accessToken. Also base64 encoding