Updated and initialized parts of devise