1. added code to use repoview - no need to login to check what was update recently
2. broke out code into smaller functions