Check permissions to determine if table edit is on/off
Add null check for date converstion