updated .gitignore and improved the sproc and user table modification dates sql query