Added Application Name
Added Session Check