Login, Logout DB Log Working With Logging in External Log File