test for new user and for not a new user