Gallery2plus user backend code