adding user to root scope