changed route from /api to /memes & created new function for getting all images