Few fixes in code: paths to repo (owner instead of logged user in session).