Resloution for the issue of saving blanks in databases corresponding to every get request to homepage