Fixed install lock issue, assignment and username bug