Remove user gallery related code (to be done on 'galleries' branch)