add some security and configure resque properly