renamed #loggedin_cat to #current_cat for convention