Committing the session handling code for user master and setting the
session variable on successful login - JJ