added some controller magic, still trying to get the gem to work locally