Refactored/removed the codes $.getUserName and instead use the readily available LoginName control in ASP.NET