removed unused methods in StackController

deleted unused mehtods