Logout and Case Comment Retrieval Fixes