Renamed login to customer. Implemented password encoder for CAS