Renamed the view folder.
Added a check to see if a payload is actually set.