fixed a bug for new user addition