fixes for r-9.co to royaltynine.com and potential bug fix with devise