Added session persistance to user controller.