JC: added return customer by access right to app controller and customer_class to /lib and init file. spec passes.