Custom login system for SC