Added session parameter to denote wither or not to show code login