#JC-1622
* Added optimal behaviour when user is log in via jdialog