Init db and devise