php 5.3.3: closure doesnt suport this context
missing alert about bd required fields
missing api core routing