Work on functions for getting logged actions