login and lock services, better names for $con