Login page and serializing of repositories