Authentication module for phalcon