added checks for user and install of user