setting up of devise