For issue #1 - Now uses the repo based on username

Added and updated tests for the functionality