Added devise controller layout handling