setup devise, bootstrap, cancan, dragonfly, and basic functions