Sets up devise