Setup Logging In System

Need logout functionality.