Slight bugfix with logins, and --overwrite flag added.