Changing Authentication block according to Padrino latest