Null session in application controller