Tha holy grail of commits! Most tests are working, added a lot of functionality and security for the logging and signing process. Almost finished authentitaction