User authentication module with ACL support for Slim based apps