install devise and set prerequisites