Get Session  and Login  references from the context.