Unread tips in API friend request and fix to API login