adding get_user_add function and correcting others one