changed reg controller
changing fog gem
changed reg contoller to be functional again