added templates for registration
made login function work
moved palettes to settings, moved settings from py to db