added necessary changes in user addition