Def basic action controller for session