only randomally assign password if it is nil and removed link to host application while added link to dashboard