public static modelClass getCurUserFromSession()
{
try
{
return HttpContext.Current.Session["LoginUser"] as modelClass;
}
catch (Exception ex)
{
return null;
}
}