Refactored urls
Made production configuration use redis session backend