abstracted req.session.attribute("student") into Helper