Implemented gallery crud in frontend