Log Out Functionality Updates