Got bookmark functions working, Added mysql cases