more work on login and start of repos