made a basic loggin, not the most secure. will adjust with time