Creating a Secure Loging System