Add stats action to application controller