Yes. This is taken care of in SessionController