Fixin Log out bug