Added function is_login_unique() to make sure the rake task does not generate a duplicate login.
Fixed minor merge conflict.