Code written for Login Consumer.
Changed constants specific to Consumer.