Moved user specific functions like add_palette to new file that is only loaded if it's your own page (for better speed)