devise ready event in main