this is the code that provides the login system for digicloud