added multi user portal support