FInshed is_user_registered function