controller for devise and spared views/layout