Extracted hashed secret to global variable.
Removed unnecessary argument to get_row function
Improved view count error displaying.